﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace con02
{
    public class Class1
    {

        public event Func<int, Task> BalanceWheelSensorCallBack;

        public void open()
        {
            BalanceWheelSensorCallBack += Balanc_fun;
        }


        public Task Balanc_fun(int ss)
        {
            Console.WriteLine("BalanceWheelSensorCallBack: " + ss);
            return Task.CompletedTask;
        }
    }
}
